package com.yunyao.dao.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 可视化组件表
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
@Getter
@Setter
@TableName("bamu_visual_component")
public class BamuVisualComponent {

    /**
     * 主键
     */
    private Long id;

    /**
     * 组件名称
     */
    @TableField("`name`")
    private String name;

    /**
     * 组件内容
     */
    private String content;

    /**
     * 组件图片
     */
    private String img;

    /**
     * 组件类型
     */
    @TableField("`type`")
    private Integer type;

    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    private String tenantId;

    private String createdBy;

    private Date createdAt;

    private String updatedBy;

    private Date updatedAt;

    @TableField("`status`")
    private Short status;

    private Short isDeleted;

    private String createDept;
}
